package com.woniuxy.springparking.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "Role",description = "角色信息")
public class Role implements Serializable {
    @ApiModelProperty(value = "角色主键")
    private Integer id;
    @ApiModelProperty(value = "角色名称")
    private String roleName;
    private List<User> users;
    private List<Permission> permissions;
}
